import { GET, POST, UPLOAD } from '@/services/request'

export default {
    CartAdd(data = {}) {
        return POST({
            url: '/order/cart/add',
            params: data
        })
    },
    CartIndex(data = {}) {
        return POST({
            url: '/order/cart/index',
            params: data
        })
    },
    CartNumUpdate(data = {}) {
        return POST({
            url: '/order/cart/num',
            params: data
        })
    },
    CartDel(data = {}) {
        return POST({
            url: '/order/cart/del',
            params: data
        })
    },
    CartConfirmData(data = {}) {
        return POST({
            url: '/order/cart/confirm',
            params: data
        })
    }
}